import java.util.Scanner;

public class demo2 {
    public static void fun(int a,int b,int c,int d) {
        for (int i = 0; i <= 30; i++) {
            for (int j = 0; j <= 30; j++) {
                for (int k = 0; k <= 30; k++) {
                    if(i-j==a && j-k==b && i+j==c && j+k==d) {
                        System.out.print(i+" "+j+" "+k);
                        return;
                    }
                }
            }
        }
        System.out.println("No");
    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a=scanner.nextInt();
        int b=scanner.nextInt();
        int c=scanner.nextInt();
        int d=scanner.nextInt();
        fun(a,b,c,d);
    }

}